package edu.xidian.forum.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import edu.xidian.forum.entity.Follow;
import edu.xidian.forum.vo.UserVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface FollowMapper extends BaseMapper<Follow> {
    Page<UserVO> selectFollows(@Param("page") Page<UserVO> page, @Param("userId") String userId);

    Page<UserVO> selectFans(@Param("page") Page<UserVO> page, @Param("userId") String userId);
}
